<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Purchase extends Model
{
    protected $table = "c_purchases";
    protected $fillable = ['doctor_id','work_id','phone','image','goods_brand','goods_type','goods_model','goods_name','factory_phone'];

    public function add($data)
    {
        return $this::create($data);
    }
    
}
